const { defineConfig } = require('@vue/cli-service')
const HtmlWebpackPlugin = require('html-webpack-plugin');

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  chainWebpack: config =>{
    config.plugin('html')
      .tap(args => {
        args[0].title = "'智慧社区'服务平台-后台管理系统";
        return args;
      })
  },
  devServer:{
    host:'127.0.0.1',
    port:8001,
    open:false
  }
})
